package com.example.foo.product.model;

import java.math.BigDecimal;

/**
 * 礼包
 */
@com.baomidou.mybatisplus.annotation.TableName("bag")
public class Bag extends com.example.core.model.BaseEntity {

	private static final long serialVersionUID = 1L;

	/**
	 * 状态
	 */
	public enum State {
		unpublished("草稿"),
		published("发布")
		;
		public final String text;
		State(String text) {
			this.text = text;
		}
	}

	private Bag.State state;

	private String name;

	private String picUrl;

	private String slogan;

	private BigDecimal giftPoint;

	private BigDecimal giftMoney;

	private Long itemId;

	private String giftItemIds;

	private Integer giftItemQuota;

	public Bag() {
	}

	/**
	 * @return 状态
	 */
	public Bag.State getState() {
		return state;
	}

	/**
	 * @param state 状态
	 */
	public void setState(Bag.State state) {
		this.state = state;
	}

	/**
	 * @return 名称
	 */
	public String getName() {
		return name;
	}

	/**
	 * @param name 名称
	 */
	public void setName(String name) {
		this.name = name;
	}

	/**
	 * @return 主图
	 */
	public String getPicUrl() {
		return picUrl;
	}

	/**
	 * @param picUrl 主图
	 */
	public void setPicUrl(String picUrl) {
		this.picUrl = picUrl;
	}

	/**
	 * @return 标语
	 */
	public String getSlogan() {
		return slogan;
	}

	/**
	 * @param slogan 标语
	 */
	public void setSlogan(String slogan) {
		this.slogan = slogan;
	}

	/**
	 * @return 赠送积分
	 */
	public BigDecimal getGiftPoint() {
		return giftPoint;
	}

	/**
	 * @param giftPoint 赠送积分
	 */
	public void setGiftPoint(BigDecimal giftPoint) {
		this.giftPoint = giftPoint;
	}

	/**
	 * @return 赠送金额
	 */
	public BigDecimal getGiftMoney() {
		return giftMoney;
	}

	/**
	 * @param giftMoney 赠送金额
	 */
	public void setGiftMoney(BigDecimal giftMoney) {
		this.giftMoney = giftMoney;
	}

	/**
	 * @return 商品ID
	 */
	public Long getItemId() {
		return itemId;
	}

	/**
	 * @param itemId 商品ID
	 */
	public void setItemId(Long itemId) {
		this.itemId = itemId;
	}

	/**
	 * @return 礼品商品IDs
	 */
	public String getGiftItemIds() {
		return giftItemIds;
	}

	/**
	 * @param giftItemIds 礼品商品IDs
	 */
	public void setGiftItemIds(String giftItemIds) {
		this.giftItemIds = giftItemIds;
	}

	/**
	 * @return 礼品商品限额
	 */
	public Integer getGiftItemQuota() {
		return giftItemQuota;
	}

	/**
	 * @param giftItemQuota 礼品商品限额
	 */
	public void setGiftItemQuota(Integer giftItemQuota) {
		this.giftItemQuota = giftItemQuota;
	}

}
